<script setup>
 
</script>

<template>
  <div >
   <div v-loading="loading">
      <img src="/vite.svg" class="logo" alt="Vite logo" />
   </div>
      
    
    <a >
      <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" @click = "a" />
    </a>
    <div  >
      11111
    </div>
  </div>
 
</template>

<script setup>
import { ref } from "vue";

let loading = ref(false)

const a = (_)  => {
  loading.value = !loading.value 
   
}
</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
